<?php $this->load->view('_inc/header_popup')?>

<h1>Nova Disciplina</h1>
<?php echo form_open('disciplina/cadastrando'); ?>
<table>
    <tr><td><?php echo form_label('Nome:','inome'); echo form_input('nome','','id="inome" class=required'); ?></td></tr>
    <tr><td><?php echo form_label('Créditos:','icred'); echo form_input('creditos','','id="icred" class=required'); ?></td></tr>
    <tr><td><?php echo form_label('Curso:','icurso'); echo form_dropdown('curso',$cursos,'','id="icurso" class=required'); ?></td></tr>
    <tr>
        <td>
            <?php echo form_submit('','Salvar') ?>
            <?php echo form_button('','Cancelar', 'class=cancela')?>
        </td>
    </tr>
</table>
<?php echo form_close(); ?>